<template>
  <div class="container">
    <div class="item mg-b-40" @click="goPath('/videoadd')">
      <van-icon name="friends-o" size="80"/>
      <span>添加视频</span>
    </div>
    <div class="item" @click="goPath('/applicant')">
      <van-icon name="records" size="70"/>
      <span>报名人员</span>
    </div>
  </div>
</template>

<script>
export default {
  name: "index",
  methods:{
    goPath(url){
      this.$router.push(url)
    }
  }

}
</script>

<style scoped>
.container{display: flex;flex-direction: column;align-items: center;justify-content: center;height: 100%}
.container .item{display: flex;flex-direction: column;justify-content: center;align-items: center;color: rgb(64,158,255);cursor: pointer}
.mg-b-40{margin-bottom: 40px}
</style>